home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-03-08 | 3.0 KB | 165 lines |
- Changes file for /usr/local/src/kcl/makefile
- Created on Tue Mar 26 07:35:15 1991
- Usage \n@s[Original text\n@s|Replacement Text\n@s]
- See the file rascal.ics.utexas.edu:/usr2/ftp/merge.c
- for a program to merge change files. Anything not between
- "\n@s[" and "\n@s]" is a simply a comment.
- This file was constructed using emacs and merge.el
- Enhancements Copyright (c) W. Schelter All rights reserved.
- by (Bill Schelter) wfs@carl.ma.utexas.edu
-
-
- ****Change:(orig (19 19 a))
- @s[# To revise KCL, the following command is enough.
- #
- # % make
-
-
- @s|# To revise KCL, the following command is enough.
- #
- # % make
-
- # begin makedefs
- AKCLDIR=/usr/public/akcl
- SHELL=/bin/sh
-
- @s]
-
-
- ****Change:(orig (20 20 a))
- @s[
-
- @s|
- # Machine dependent makefile definitions for hp300 running 4.3bsd(mt xinu)
-
- LBINDIR=/usr/local/bin
-
- OFLAG = -O
- LIBS = -lm -lg
- ODIR_DEBUG= -g
-
- # This CC string will be used for compilation of the system,
- # and also in the compiler::*cc* variable for later compilation of
- # lisp files.
-
- CC = gcc -fwritable-strings -msoft-float -DVOL=volatile -I$(AKCLDIR)/o
- MAINDIR = /public/kcl
-
- # Enable the fastloading mechanism which does not use ld -A
- # requires c/rel_.. machine dependent code.
-
- RSYM = rsym
- SFASL = $(ODIR)/sfasl.o
-
- # Use the mp.s file on 68k machine
-
- MPFILES= $(MPDIR)/mpi-bsd68k.o $(MPDIR)/libmport.a
-
-
- # When using SFASL it is good to have (si::build-symbol-table)
- INITFORM=(si::build-symbol-table)
-
- # Use symbolic links
- SYMB=-s
-
- LIBFILES=bsearch.o
-
- # the make to use for saved_kcp the profiler.
- KCP=kcp-bsd
- # end makedefs
-
-
-
-
-
-
-
-
-
- @s]
-
-
- ****Change:(orig (29 34 c))
- @s[all: /usr/include/cmpinclude.h
- (cd $(BINDIR); make)
- (cd $(ODIR); make)
- (cd $(LSPDIR); make)
-
- @s, (cd $(CMPDIR); make)
- (cd $(PORTDIR); make)
-
- @s|all:
- make sources
- make command
- (cd $(BINDIR); make all)
- (cd mp ; make all)
- (cd $(ODIR); make all)
- (cd $(LSPDIR); make all)
- (cd $(CMPDIR); make all)
- (cd $(PORTDIR); make saved_kcl)
-
- @s]
-
-
- ****Change:(orig (37 38 c))
- @s[ @echo "su and make cmpinclude.h"
- exit 1
-
- @s| @ if [ "$(SU)" != "SKIP" ] ; then echo "su and make cmpinclude.h" ;\
- exit 1 ; \
- else echo "Warning: ask root to cp $(HDIR)/cmpinclude.h /usr/include/cmpinclude.h" \
- ;fi
-
- @s]
-
-
- ****Change:(orig (43 43 a))
- @s[ cp $(HDIR)/cmpinclude.h /usr/include
-
-
-
- @s| cp $(HDIR)/cmpinclude.h /usr/include
-
-
-
-
-
- sources: merge
- make -f Smakefile sources
-
- sunview:
- make sources
- merge standard-kcl/unixport/makefile sunv/chang sunv/makefile
- make "PORTDIR=sunv"
-
- command:
- (cd $(PORTDIR); rm -f ../xbin/akcl ; echo "#!/bin/sh" > ../xbin/akcl; \
- echo "exec `pwd`/saved_kcl `pwd`/" >> ../xbin/akcl)
- chmod 755 xbin/akcl
- rm -f xbin/kcl ; ln xbin/akcl xbin/kcl
-
-
- @s]
-
-
- ****Change:(orig (45 48 c))
- @s[ (cd $(PORTDIR); echo "#" > /usr/bin/kcl; \
- echo "`pwd`/saved_kcl `pwd`/" >> /usr/bin/kcl)
- chmod 755 /usr/bin/kcl
-
-
- @s| cp xbin/kcl $(LBINDIR)
- (cd doc ; make install "LBINDIR=$(LBINDIR)")
-
- @s]
-
-
- ****Change:(orig (51 51 a))
- @s[ (cd $(BINDIR); make clean)
-
- @s| (cd $(BINDIR); make clean)
- (cd mp ; make clean)
-
- @s]
-
-